package com.wmz.crm.commons.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Date格式化工具类
 */
public class DateFormateUtil {
    public static String formateDateTime(Date date) {
        SimpleDateFormat sdf  = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String nowDate = sdf.format(new Date());
        return nowDate;
    }
}
